<?php


class Blackbird_Form_Polls_ResultsParams extends Zend_Form_SubForm
{
	function __construct($options = null)
	{
		parent::__construct($options);

		$model = new Blackbird_Model_Polls();
		$slugOptions = $model->fetchPollsSelection();

		$this
			->addElement('select', 'slug', array(
				'label' => 'Encuesta:',
				'required' => true,
				'multiOptions' => $slugOptions,
			))
			;
	}
}

